A dummy custom instance slot. More...
Public Member Functions | |
| ShaderInstanceCustomDummySlot (System *system) noexcept | |
| void | setTypeName (nkMemory::StringView value) |
| virtual unsigned int | getDataByteSize () override |
| virtual void | fillDataBuffer (Entity *caller, void *buffer) override |
Public Member Functions inherited from nkGraphics::ShaderInstanceCustomSlot | |
| ShaderInstanceCustomSlot () noexcept | |
| virtual | ~ShaderInstanceCustomSlot () |
| nkMemory::StringView | getTypeName () const |
| nkMemory::StringView | getSemanticName () const |
| void | setSemanticName (nkMemory::StringView value) |
A dummy custom instance slot.
Used as a place holder when importing shaders featuring custom slots. The dummy slot will have to be replaced by the application knowing about the precise custom slot to use, after resource loading.
|
noexcept |
Constructor.
| system | The system the resource should live in. |
| void nkGraphics::ShaderInstanceCustomDummySlot::setTypeName | ( | nkMemory::StringView | value | ) |
Typename setting for identification.
| value | The typename description. |
|
overridevirtual |
Implements nkGraphics::ShaderInstanceCustomSlot.
|
overridevirtual |
Fills the buffer for one entry.
| caller | The entity to fill the data for. |
| buffer | The spot in the memory buffer to fill. |
Implements nkGraphics::ShaderInstanceCustomSlot.